
export default class SaveSceneExampleQueue {
    static queue = [];

    static enQueue(data) {
        if (SaveSceneExampleQueue.queue == null) return;
        SaveSceneExampleQueue.queue.push(data);
    }

    static deQueue() {
        if (SaveSceneExampleQueue.queue.length == 0) return;
        const data = SaveSceneExampleQueue.queue.shift();
        return data
    }

    static getQueue() {
        return Array.from(SaveSceneExampleQueue.queue);
    }
}